import { $put } from '@js/request'
import { PDFParamSchema } from '@src/components/schema/pdf';

export async function updateRequest (caseid: string, fileid: string, parameters: Array<{[k: string]: any}>) {
  const res = await $put(`/api/commission/document/${caseid}/${fileid}`, {
    parameters
  })
  return res.data
}
